const std = @import("std");
const expect = @import("std").testing.expect;
const stdout = std.io.getStdOut().writer();

fn add(x: u8, y: u8) u8 {
    const result = x + y;
    return result;
}

pub fn main() !void {
    const r = add(1, 2);
    try stdout.print("Result: {d}!\n", .{r});
}

test "test main" {
    var y = add(1, 2);
    y = 4;
    try expect(y == 4);
}
